import { createRouter, createWebHistory } from 'vue-router'
import Login from '../views/Login.vue'
import Start from '@/views/Start.vue'
import Carousel from '../views/Carousel.vue'
import Reset from '@/views/log_phone_pwd.vue'
import Gesture from '@/views/Gesture.vue'
import ToLogin from '../views/ToLogin.vue'
import Home from '@/views/Home.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'await',
      component: () => import('../views/Await.vue')
    },
   {
      path: '/login',
      name: 'login',
      component: () => import('../views/Login.vue')
   },
   {
      path: '/log_pwd',
      name: 'logpwd',
      component: () => import('../views/log_pwd.vue')
   },
   {
      path: '/gesture',
      name: 'gesture',
      component: () => import('../views/Gesture.vue')
   },
   {
      path: '/home',
      name: 'Home',
      component: () => import('../views/Home.vue')
   },
   {
      path: '/tologin',
      name: 'ToLogin',
      component: () => import('../views/ToLogin.vue')
   },
   {
      path:'login_phone_pwd',
      name:'login_phone_pwd',
      component: () => import('../views/login_phone_pwd.vue')
   },
  ],
})

export default router
